package org.hzz.promotions.types.constants;

/**
* This class contains the database column names for the exchange_code table.
* Generator by TableFields.ftl
*
* @author 胖卡
* @date 2024-08-31
*/
public class ExchangeCodeFields {

    /**
     * 兑换码id
     */
    public static final String ID = "id";

    /**
     * 兑换码
     */
    public static final String CODE = "code";

    /**
     * 兑换码状态， 1：待兑换，2：已兑换，3：兑换活动已结束
     */
    public static final String STATUS = "`status`";

    /**
     * 兑换人
     */
    public static final String USER_ID = "user_id";

    /**
     * 兑换类型，1：优惠券，以后再添加其它类型
     */
    public static final String TYPE = "`type`";

    /**
     * 兑换码目标id，例如兑换优惠券，该id则是优惠券的配置id
     */
    public static final String EXCHANGE_TARGET_ID = "exchange_target_id";

    /**
     * 创建时间
     */
    public static final String CREATE_TIME = "create_time";

    /**
     * 兑换码过期时间
     */
    public static final String EXPIRED_TIME = "expired_time";

    /**
     * 更新时间
     */
    public static final String UPDATE_TIME = "update_time";
}